.drop-zone {
  max-width: 1000px;
  min-height: 200px;
  padding: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  border: 4px grey dashed;
  border-radius: 10px;
  background-color: #eee;
}
.drop-zone--over {
  border-style: solid;
}
.drop-zone__input {
  display: none;
}
.drop-zone__thumb {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: center top;
  position: relative;
  font-size: 10px;
}
.drop-zone__thumb::after {
  content: attr(data-label);
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 5px 0;
  color: #fff;
  background: rgb(0, 0, 0, 0.5);
}
.browse {
  text-decoration: underline;
}
#thumbnail-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-gap: 1em;
}
#thumbnail-grid > div {
  height: 140px;
}
#controls {
  z-index: 2;
  position: absolute;
  background-color: #fff;
  padding: 12px 24px;
  border-radius: 10px;
  transition: 0.6s;
}
.loading {
  left: -12px;
  top: 6px;
  float: right;
  position: relative;
}
.thumboverlay {
  width: 100%;
  height: 100%;
  text-align: right;
}
.thumboverlay-black {
  background: linear-gradient(
    180deg,
    #000 0,
    rgba(0, 0, 0, 0.5) 20%,
    rgba(0, 0, 0, 0) 30%
  );
}
.thumboverlay-red {
  background: linear-gradient(
    180deg,
    #f00000 0,
    rgba(240, 0, 0, 0.5) 20%,
    rgba(255, 0, 0, 0) 30%
  );
}
.thumboverlay-green {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    #1ec443 0,
    rgba(30, 196, 67, 0.5) 20%,
    rgba(30, 196, 67, 0) 30%
  );
  text-align: right;
}
.loading::after,
.thumbnail-grid .loading {
  border: 0.1rem solid #fff;
  border-radius: 50%;
  border-right-color: transparent;
  border-top-color: transparent;
}
.percent-complete {
  color: #fff;
  font-size: 12px;
  margin-right: 24px;
}
.ditch-cross {
  color: #fff;
  top: 4px;
  right: 6px;
  position: absolute;
  background-color: red;
  width: 1.6em;
  height: 1.6em;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 16px;
}
.ditch-cross:hover {
  color: #000;
  background-color: #fff;
}
@media (max-width: 1320px) {
  #thumbnail-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 900px) {
  #thumbnail-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 800px) {
  #thumbnail-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 700px) {
  #thumbnail-grid {
    grid-template-columns: 1fr;
  }
}
